package com.yami.shop.bean.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("tz_user_coupon")
public class UserCoupon {

    @TableId(value = "coupon_id")
    private Long couponId;

    @TableField("user_id")
    private String userId;

    private Date startDate;

    private Date endDate;

    private Boolean status;
}
